import getEnumsManager from '@/common/enum';

export const OperTypeEnum = getEnumsManager([
  { value: '1', text: '导出', name: 'export' },
  { value: '2', text: '导入', name: 'import' }
]);

export const OperResEnum = getEnumsManager([
  { value: '1', text: '成功', name: 'success' },
  { value: '9', text: '失败', name: 'fail' }
]);
export const ExpDataTypeEnum = getEnumsManager([
  { value: 'TOTAL', text: '全量导出', name: 'TOTAL' },
  { value: 'INCREMENT', text: '增量导出', name: 'INCREMENT' }
]);
export const ImpDataTypeEnum = getEnumsManager([
  { value: 'TOTAL', text: '全量导入', name: 'TOTAL' },
  { value: 'INCREMENT', text: '增量导入', name: 'INCREMENT' }
]);
